#pragma once
#include "Object.h"

#include "../Base/QuadTree.h"
#include "../Base/Rect.h"
#include <algorithm>
#include "../Colide/Colide.h"
#include <SDL2/SDL.h>


class World
{
public:
    World() {

        

        

    }
    void addObject(Object* obj);

    void update(float dt);
    void addColideInfo(Object* a, Object* b);

    ~World() {}
protected:
    std::vector<Object*> objects;

    std::vector<ColideInfo> colideinfo;
public:
    SDL_Window* window;
    SDL_Renderer* renderer;
    

    
};
